package com.three.usermanagement.service;



import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.three.core.entity.Role;
import com.three.core.vo.R;
import com.three.usermanagement.vo.RoleVo;

import java.util.List;

public interface RoleService {
    R<Page<Role>> selectRoleByPage(RoleVo roleVo);

    R selectUserRole(Integer id);

    R updateRole(Integer userId, Integer[] roleIds);

    R deleteRoleById(Integer roleId);
}
